<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
   	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
   	xmlns:f="http://xmlns.jcp.org/jsf/core"
   	xmlns:h="http://xmlns.jcp.org/jsf/html"
   	xmlns:p="http://primefaces.org/ui"   
   	xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">				
	<p:panelGrid cellpadding="5">
       	
       	<p:row>
       		<p:column styleClass="column_6">        			
				<p:outputLabel for="bulletinTitle" value="公告标题" />							
       		</p:column>
       		<p:column styleClass="column_6" colspan="3">
				<h:outputText id="bulletinTitle" value="#{bulletinHome3.instance.title}" />       		
       		</p:column>
       	</p:row>
       	<p:row>
       		<p:column styleClass="column_6">
       			<p:outputLabel for="bulletinProjectName" value="采购项目名称" />		
       		</p:column>
       		<p:column styleClass="column_6" colspan="3">
       			<h:outputText id="bulletinProjectName" value="#{bulletinHome3.instance.projectName}" />
       		</p:column>
       	</p:row>
       	<p:row rendered="#{not empty bulletinHome3.instance.conflictingBulletin}">
       		<p:column styleClass="column_6">
       			<p:outputLabel for="conflictingProjectName" value="互斥项目名称" />		
       		</p:column>
       		<p:column styleClass="column_6" colspan="3">
       			<h:outputText id="conflictingProjectName" value="#{bulletinHome3.instance.conflictingBulletin.projectName}" />
       		</p:column>
       	</p:row>
       	
       	<p:row rendered="#{bulletinHome3.instance.wayOfChoose eq 'Best'}">
       		<p:column styleClass="column_6">
       			<p:outputLabel  value="候选中介数量" />		
       		</p:column>
       		<p:column styleClass="column_6" colspan="3">
       			<h:outputText  value="#{bulletinHome3.instance.candidateTradeCount}" />
       		</p:column>
       	</p:row>
       	<p:row>
       		<p:column styleClass="column_6">
       			<p:outputLabel for="bulletinAmountOfInvestment" value="项目总投资（元）" />				
       		</p:column>
       		<p:column styleClass="column_6">
       			<h:outputText id="bulletinAmountOfInvestment" minValue="0" value="#{bulletinHome3.instance.amountOfInvestment}" />
       		</p:column>
       		<p:column styleClass="column_6">
       			<p:outputLabel for="bulletinPrice" value="服务金额（元）" />		
       		</p:column>
       		<p:column styleClass="column_6">
       			<h:outputText id="bulletinPrice" value="#{bulletinHome3.instance.price}" minValue="0" >
       				<f:convertNumber minFractionDigits="2" maxFractionDigits="2"/>
       			</h:outputText>
       		</p:column>
       	</p:row>
		
       	<p:row>
       		<p:column styleClass="column_6">
       			<p:outputLabel for="bulletinPriceRemark" value="服务金额说明" />					
       		</p:column>
       		<p:column styleClass="column_6">
       			<h:outputText   id="bulletinPriceRemark"  value="#{bulletinHome3.instance.priceRemark}" />
       		</p:column>
       		<p:column styleClass="column_6">					
				<p:outputLabel for="bulletinLimitRemark" value="合同约定完成时限说明" />				
       		</p:column>
       		<p:column styleClass="column_6">
				<h:outputText id="bulletinLimitRemark" value="#{bulletinHome3.instance.limitRemark}"   />       		
       		</p:column>
       	</p:row>
       	
       	<p:row>
       		<p:column styleClass="column_6">
       			<p:outputLabel for="bulletinProjectInfo" value="项目建设内容" />									
       		</p:column>
       		<p:column styleClass="column_6" colspan="3">
       			<h:outputText  id="bulletinProjectInfo" value="#{bulletinHome3.instance.projectInfo}" />				
       		</p:column>
       	</p:row>
       	
       	<p:row>
       		<p:column styleClass="column_6">       			
				<p:outputLabel for="bulletinReqRemark" value="公告要求说明" />				
       		</p:column>
       		<p:column styleClass="column_6" colspan="3">       			
				<h:outputText  id="bulletinReqRemark" value="#{bulletinHome3.instance.reqRemark}"  />
       		</p:column>
       	</p:row>
       	
       	<p:row>       		
       		<p:column styleClass="column_6">
       			<p:outputLabel for="bulletinContent" value="服务内容" />					
       		</p:column>
       		<p:column styleClass="column_6" colspan="3">
       			<h:outputText 	id="bulletinContent" value="#{bulletinHome3.instance.content}" />	
       		</p:column>
       	</p:row>
       	
       	<p:row>
       		<p:column styleClass="column_6">       											
			 	<p:outputLabel for="bulletinLimitOfTime" value="合同约定完成时限" />			 	
       		</p:column>
       		<p:column styleClass="column_6">
       			<p:outputPanel id="bulletinLimitOfTime">
					<h:outputText  value="#{bulletinHome3.instance.limitOfTime}" />
					<h:outputText  value="#{bulletinHome3.instance.limitUnit.typeName}" />
				</p:outputPanel>
       		</p:column>
       		<p:column styleClass="column_6">       			
				<p:outputLabel for="bulletinWayOfPayment" value="付款方式" />			
       		</p:column>
       		<p:column styleClass="column_6">       					
				<h:outputText id="bulletinWayOfPayment" value="#{bulletinHome3.instance.wayOfPayment}"  />										
       		</p:column>
       	</p:row>
       	<p:row rendered="#{bulletinHome3.instance.wayOfChoose.name() != 'Manual'}">
       		<p:column styleClass="column_6">
       			<p:outputLabel for="bulletieWayOfChoose" value="选取方式" />
       		</p:column>
       		<p:column styleClass="column_6">
				<h:outputText id="bulletieWayOfChoose" value="#{bulletinHome3.instance.wayOfChoose.typeName}"  />       		
       		</p:column>
       		
       		<p:column styleClass="column_6">
				<p:outputLabel for="bulletinAddressOfChoose" value="公开选取中介地址" />
       		</p:column>
       		<p:column styleClass="column_6">				
				<h:outputText id="bulletinAddressOfChoose" value="#{bulletinHome3.instance.addressOfChoose}"  styleClass="input-large"  />       		
       		</p:column>
       	</p:row>
       	<p:row rendered="#{bulletinHome3.instance.wayOfChoose.name() == 'Price' or bulletinHome3.instance.wayOfChoose.name() == 'Average'}">
       		<p:column styleClass="column_6">
       			<p:outputLabel value="最高限价（元）" />
       		</p:column>
       		<p:column styleClass="column_6" colspan="3">
				<h:outputText value="#{bulletinHome3.instance.industryStandard}"  />       		
       		</p:column>
       	</p:row>	
						
       	<p:row rendered="#{empty hideTime or not hideTime}">
       		<p:column styleClass="column_6">
       			<p:outputLabel for="bulletinEndingApplyTime" value="截止报名时间" />		
       		</p:column>
       		<p:column styleClass="column_6">
       			<h:outputText id="bulletinEndingApplyTime" value="#{bulletinHome3.instance.endingApplyTime}" >
					<f:convertDateTime  pattern="yyyy-MM-dd HH:mm"/>
				</h:outputText>
       		</p:column>
       		<p:column styleClass="column_6">
       			<p:outputLabel for="bulletinChooseTime" value="开始选取时间" />			
       		</p:column>
       		<p:column styleClass="column_6">
       			<h:outputText id="bulletinChooseTime" value="#{bulletinHome3.instance.chooseTime}" >
					<f:convertDateTime  pattern="yyyy-MM-dd HH:mm"/>
				</h:outputText>
       		</p:column>
       	</p:row>
							
		<p:row>
       		<p:column styleClass="column_6">				
				<p:outputLabel for="bulletinTeleOfConsult"  value="咨询电话" />       		
       		</p:column>
       		<p:column styleClass="column_6">				
				<h:outputText id="bulletinTeleOfConsult" value="#{bulletinHome3.instance.teleOfConsult}"  />       		
       		</p:column>
			<p:column styleClass="column_6">				
				<p:outputLabel for="bulletinTeleOfSupervise" value="监督电话" />				       		
       		</p:column>
       		<p:column styleClass="column_6">				
				<h:outputText id="bulletinTeleOfSupervise" value="#{bulletinHome3.instance.teleOfSupervise}"  />       		
       		</p:column>
       		
		</p:row>
	</p:panelGrid>
			
</ui:composition>